package com.t168.appinfo.service.reception.appinfo;

import java.util.List;





import org.apache.ibatis.annotations.Param;

import com.t168.appinfo.entity.AppInfo;
import com.t168.appinfo.entity.AppVersion;

public interface AppInfoService {

	public List<AppInfo> getAppInfo(
			String level1,
			String level2,
			String level3,
			String softwareName,
			String flatformId,
			String status,
			Integer pageIndex,
			Integer pageCount);
	
	
	public int  getAppInfoCount(
			String level1,
			String level2,
			String level3,
			String softwareName,
			String flatformId,
			String status);
	
	
	public boolean addAppInfo(AppInfo appInfo);
	
	
	public boolean apkExist(String apkName);
	
	
	public AppInfo getAppInfoViewById(int id);
	
	
	
	public boolean modifyAppInfoSave(AppInfo appInfo);
	
	
	public boolean modifyAppVersionId(int id,int versionId);
	
	
	public AppInfo historyVersion(int appId);
	
	
	public boolean delAppInfoById(int appId);
	
	
	public boolean modifyAppInfoStatus(int id,String saleSwitch);
	
	
	
}
